Method, system, and computer program product for calculating daily weighted averages of glucose measurements (or derived quantities) with time-based weights

ABSTRACT

A method and system for calculating daily weighted averages of glucose measurements (or derived quantities) with time-based weights are disclosed. The present invention computes an average daily glucose value using the time based weights based on only consecutive glucose measurements in the plurality of glucose measurements with acceptable time intervals that do not exceed a predefined maximum time interval. The invention further relates to a computer program for implementing the method for calculating daily weighted averages of spot monitoring glucose measurements (or derived quantities) with the time-based weights.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 12/215,175, filed Jun. 25, 2008.

FIELD OF THE INVENTION

Embodiments of invention relate to physiological monitoring, and in particular to a method and system for calculating daily weighted averages of glucose measurements (or derived quantities) with time-based weights. Embodiments of invention further relate to a computer program for implementing the method for calculating daily weighted averages of glucose measurements (or derived quantities) with time-based weights.

BACKGROUND OF THE INVENTION

Monitoring parameters measured in or on the body of humans such as a concentration of a certain substance in a given body fluid has many applications. In particular, the monitoring is crucial in the context of therapies that involve an administration of active substances regulated depending on the value of one or a plurality of physiological parameters. A prominent example is diabetes therapy where the administration of insulin is effected depending on a measured glucose concentration in a body fluid of the patient.

Conventionally, diabetic patients who need to regularly administer insulin have periodically taken measurements (usually four a day) of their glucose level, e.g. using a spot monitoring device such as, for example, a hand held strip-based glucose meter. However, patients measuring their glucose concentration with a spot monitoring device several times per day may temporarily increase their measuring frequency after encountering hypo- or hyperglycemic events to check if they move out of this undesirable condition. This can be done with or without an intervention like ingesting fast acting carbohydrates or taking glucose lowering measures. Such a temporary increase of the measurement frequency will skew the result of any direct arithmetic averaging process applied to the glucose data since the same basic event in time (e.g. the hypoglycemia) is represented by several additional measurements.

SUMMARY OF THE INVENTION

It is against the above background that the present invention provides a method, system, and computer program product for calculating daily weighted averages of glucose measurements (or derived quantities) with time-based weights. Applying the time-based weighting scheme according to the present invention to spot glucose measurements reduces the impact of an event-triggered change in self-monitored, glucose measurement frequency.

In one embodiment, a method for calculating daily weighted averages of glucose measurements with time-based weights is disclosed. The method comprises providing a plurality of glucose measurements each collected at a different time, and determining whether each time interval between two consecutive glucose measurements in the plurality of glucose measurements exceeds a predefined maximum time interval length. The method further includes computing electronically an average daily glucose value, which represents the daily weighted average of the glucose measurements, using time based weights based on only consecutive glucose measurements in the plurality of glucose measurements with acceptable time intervals that do not exceed the predefined maximum time interval, and providing the computed daily weighted average of the glucose measurements.

In another embodiment, a system for calculating daily weighted averages of glucose measurements with time-based weights is disclosed. The system comprises a processor programmed to: receive a plurality of glucose measurements each collected at a different period of time; determine whether each time interval between two consecutive glucose measurements in the plurality of glucose measurements exceeds a predefined maximum time interval value; compute an average daily glucose value, which represents the daily weighted average of the glucose measurements, using time based weights based on only consecutive glucose measurements in the plurality of glucose measurements with acceptable time intervals that do not exceed the predefined maximum time interval; and provide the computed daily weighted average of the glucose measurements.

In still another embodiment, a computer program product is disclosed which comprises code that when executed by a processor based system performs the method steps of present invention disclosed herein.

These and other advantages and features of the invention disclosed herein, will be made more apparent from the description, drawings and claims that follow.

BRIEF DESCRIPTION OF THE DRAWINGS

The foregoing and other objects, features and advantages of the present invention, as well as the invention itself, will be more fully understood from the following description of preferred embodiments, when read together with the accompanying drawings in which:

FIG. 1 is a block diagram of one embodiment of a processor based system for implementation of the present invention.

FIG. 2 is a flow diagram of one embodiment of a method for implementation of the present invention.

FIG. 3 is a graphical representations of calculating daily weighted averages of spot monitoring glucose measurements (or derived quantities) with time-based weights according to the present invention.

FIGS. 4 a, 4 b, and 4 c are graphical representations of calculating daily weighted averages of spot monitoring glucose measurements (or derived quantities) with time-based weights in a first use case scenario according to the present invention.

FIGS. 5 a and 5 b are graphical representations of calculating daily weighted averages of spot monitoring glucose measurements (or derived quantities) with time-based weights in a second use case scenario according to the present invention.

FIG. 6 is graphical representations of calculating daily weighted averages of spot monitoring glucose measurements (or derived quantities) with time-based weights in a third use case scenario according to the present invention.

FIG. 7 is graphical representations of calculating daily weighted averages of spot monitoring glucose measurements (or derived quantities) with time-based weights in a fourth use case scenario according to the present invention.

FIG. 8 is graphical representations of calculating daily weighted averages of spot monitoring glucose measurements (or derived quantities) with time-based weights in a fifth use case scenario according to the present invention.

DETAILED DESCRIPTION

The present invention may be implemented using hardware, software or a combination thereof and may be implemented in one or more microprocessor based systems, such as a portable computer or other processing systems, such as personal digital assistants (PDAs), or directly in self-monitoring glucose devices or meters (bG meters) equipped with adequate memory and processing capabilities to process a chronological sequence of measurements of a time dependent parameter measured in or on the human body, namely of the glucose level (e.g. the glucose (bG) level).

In an example embodiment, the present invention is implemented in software running on a self-monitoring blood glucose (bG) meter 100 as illustrated in FIG. 1. The bG meter 100 is common in the industry and includes essentially any device that can function as a glucose acquisition mechanism. The bG meter 100 or acquisition mechanism, device, tool, or system includes various conventional methods directed toward drawing a sample (e.g. by finger prick) for each test, and making a spot determination of the glucose level using an instrument that reads glucose concentrations by optical, electrochemical, electromechanical or calorimetric detection/measurement methods. In addition, the bG meter 100 may include indwelling catheters and subcutaneous tissue fluid sampling devices and/or communicate with devices, such as continuous glucose monitor (CGM) 101, having indwelling catheters and subcutaneous tissue fluid sampling devices.

In the illustrated embodiment, the bG meter 100 includes one or more microprocessors, such as processor 102, which is connected to a communication bus 104, which may include data, memory, and/or address buses. The bG meter 100 may include a display interface 106 providing graphics, text, and other data from the bus 104 (or from a frame buffer not shown) for display on a display 108. The display interface 106 may be a display driver of an integrated graphics solution that utilizes a portion of main memory 110 of the meter 100, such as random access memory (RAM) and processing from the processor 102 or may be a dedicated graphics card. In another embodiment, the display interface 106 and display 108 additionally provide a touch screen interface for providing data to the bG meter 100 in a well known manner.

Main memory 110 in one embodiment is random access memory (RAM), and in other embodiments may include other memory such as a ROM, PROM, EPROM or EEPROM, and combinations thereof. In one embodiment, the bG meter 100 includes secondary memory 112 which may include, for example, a hard disk drive 114 and/or a removable storage drive 116, representing a floppy disk drive, a magnetic tape drive, an optical disk drive, a flash memory, etc. The removable storage drive 116 reads from and/or writes to a removable storage unit 118 in a well known manner. Removable storage unit 118, represents a floppy disk, magnetic tape, optical disk, etc. which is read by and written to by removable storage drive 116. As will be appreciated, the removable storage unit 118 includes a computer usable storage medium having stored therein computer software and/or data.

In alternative embodiments, secondary memory 112 may include other means for allowing computer programs or other instructions to be loaded into the bG meter 100. Such means may include, for example, a removable storage unit 120 and an interface 122. Examples of such removable storage units/interfaces include a program cartridge and cartridge interface, a removable memory chip (such as a ROM, PROM, EPROM or EEPROM) and associated socket, and other removable storage units 120 and interfaces 122 which allow software and data to be transferred from the removable storage unit 120 to the bG meter 100.

The bG meter 100 in one embodiment includes a communications interface 124. The communications interface 124 allows software and data to be transferred between the bG meter 100 and an external device(s) 126. Examples of communications interface 124 may include one or more of a modem, a network interface (such as an Ethernet card), a communications port (e.g., USB, firewire, serial or parallel, etc.), a PCMCIA slot and card, a wireless transceiver, and combinations thereof. In one embodiment, the external device 126 is a personal computer (PC), and in another embodiment is a personal digital assistance (PDA). In still another embodiment, the external device 126 is a docking station wherein the communication interface 124 is a docket station interface. In such an embodiment, the docking station 126 may provided and/or connect to one or more of a modem, a network interface (such as an Ethernet card), a communications port (e.g., USB, firewire, serial or parallel, etc.), a PCMCIA slot and card, a wireless transceiver, and combinations thereof. Software and data transferred via communications interface 124 are in the form of wired or wireless signals 128 which may be electronic, electromagnetic, optical, or other signals capable of being sent and received by communications interface 124. For example, as is known, signals 128 may be sent between communication interface 124 and the external device(s) 126 using wire or cable, fiber optics, a phone line, a cellular phone link, an RF link, an infrared link, other communications channels, and combinations thereof.

In one embodiment, the external device 126 is used for establishing a communication link 130 between the bG meter 100 and still further electronic devices such as a remote Personal Computer (PC) of the patient, and/or a health care provider (HCP) computer 134, directly or indirectly, such as through a communication network 136, such as the Internet and/or other communication networks. The communication interface 124 and/or external device(s) 126 may also be used to communicate with further data gathering and/or storage devices such as insulin delivering devices, cellular phones, personal digital assistants (PDA), etc. Specific techniques for connecting electronic devices through wired and/or wireless connections (e. g. USB and Bluetooth, respectively) are well known in the art.

In the illustrative embodiment, the bG meter 100 provides a strip reader 138 for receiving a glucose test strip 140. The test strip 140 is for receiving a sample from a patient 142, which is read by the strip reader 138. Data, representing the information provided by the test strip, is provided by the strip reader 138 to the processor 102 which executes a computer program stored in memory 110 to perform various calculations as discussed in great detail below on the data. The results of the processor 102 from using the data is displayed on the display 108 and/or recorded in secondary memory 110, which is herein referred to as self monitored glucose (bG) data. The bG data may include, but not limited thereto, the glucose values of the patient 142, the insulin dose values, the insulin types, and the parameter values used by processor 102 to calculate future glucose values, supplemental insulin doses, and carbohydrate supplements. Each glucose value and insulin dose value is stored in memory 112 with a corresponding date and time. An included clock 144 of the bG meter 100 supplies the current date and time to processor 102.

The bG meter 100 further provides a user input device(s) 146 such as keys, touchpad, touch screen, etc. for data entry, program control, information requests, and the likes. A speaker 148 is also connected to processor 102, and operates under the control of processor 102 to emit audible alerts/reminders to the patient, such as for example, to take a meal, of possible future hypoglycemia, and the likes. A suitable power supply 150 is also provided to power the bG meter 100 as is well known to make the meter portable.

The terms “computer program medium” and “computer usable medium” are used to generally refer to media such as removable storage drive 116, a hard disk installed in hard disk drive 114, signals 128, etc. These computer program products are means for providing software to bG meter 100. The invention includes such computer program products.

Computer programs (also called computer control logic) are stored in main memory 110 and/or secondary memory 112. Computer programs may also be received via the communications interface 124. Such computer programs, when executed, enable the bG meter 100 to perform the features of the present invention as discussed herein. In particular, the computer programs, when executed, enable processor 102 to perform the functions of the present invention. Accordingly, such computer programs represent controllers of bG meter 100.

In an embodiment where the invention is implemented using software, the software may be stored in a computer program product and loaded into bG meter 100 using removable storage drive 116, removable storage unit 120, hard drive 114, or communications interface 124. The control logic (software), when executed by the processor 102, causes the processor 102 to perform the functions of the invention as described herein.

In another embodiment, the invention is implemented primarily in hardware using, for example, hardware components such as application specific integrated circuits (ASICs). Implementation of the hardware state machine to perform the functions described herein will be apparent to persons skilled in the relevant art(s).

In yet another embodiment, the invention is implemented using a combination of both hardware and software.

In an example software embodiment of the invention, the methods described hereafter are implemented in the C++ programming language, but could be implemented in other programs such as, but not limited to, Visual Basic, C, C#, Java or other programs available to those skilled in the art.

As mentioned above, the bG meter 100 is used by the patient 142 for recording, inter alia, insulin dosage readings and spot measured glucose levels. Such bG data obtained by the bG meter 100 in one embodiment is transferable via the communication interface 124 to another electronic device, such the external device 126 (PC, PDA, or cellular telephone), or via the network 136 to the remote PC and/or HCP computer 134. Examples of such bG meters include but are not limited to, the Accu-Chek Active meter and the Accu-Chek Aviva system both by Roche Diagnostics, Inc. which are compatible with the Accu-Chek 360° Diabetes management software to download test results to a personal computer or the Accu-Chek Pocket Compass Software for downloading and communication with a PDA.

Accordingly, it is to be appreciated that the bG meter 100 includes the software and hardware necessary to process, analyze and interpret the self-recorded diabetes patient (i.e., bG) data in accordance with predefined flow sequences (as described below in detail) and generate an appropriate data interpretation output. In one embodiment, the results of the data analysis and interpretation performed upon the stored patient data by the bG meter 100 are displayed in the form of a report, trend-monitoring graphs, and charts to help patients manage their physiological condition and support patient-doctor communications. In other embodiments, the bG data from the bG meter 100 may be used to generated reports (hardcopy or electronic) via the external device 126 and/or personal computer (PC) and/or HCP computer 134.

The bG meter 100 further provides the user and/or his or her HCP with the possibilities of a) editing data descriptions, e. g. the title and description of a record; b) saving records at a specified location, in particular in user-definable directories as described above; c) recalling records for display; d) searching records according to different criteria (date, time, title, description etc.); e) sorting records according to different criteria (values of the bG level, date, time, duration, title, description etc.); f) deleting records; g) exporting records; and/or h) performing data comparisons as is well known.

It is to be appreciated that the present invention enhances existing software and/or hardware that retrieves and processes the bG data. The methods and system of the invention can be directly incorporated into existing home glucose monitors, or used for the enhancement of software that retrieves and processes bG data, by introducing a process for calculating daily weighted averages of spot monitoring glucose measurements (or derived quantities) with time-based weights.

One aspect of the invention includes a method, system, and computer program product for calculating a time-weighted average of bG results (i.e., bG data) collected over a predetermined period, for example 4-6 weeks.

The following gives a general description of the approach for calculating a time-weighted average of bG results for a given day. For example, some people measure their sugar regularly several times per days; other will vary their measurement frequency considerably; in extreme cases there will be periods of time (e.g. several days) where no measurements are taken at all. The logic that underlies the method must be able to handle these cases in order to be implemented on the bG meter 100.

With reference to FIG. 2, the method 200 of the present invention is described. In step 202, bG (i.e., spot) measurements of the patient 142 is captured. In one embodiment, each of the bG measurements is captured via strip 140 provided with a sample of the patient's which is then in turn read by strip reader and analyzed by processor 102 to give the bG measurement of the patient 142. In other embodiments, the bG measurements may be captured at times dictated by the continuous glucose monitor 101 and/or commanded by the patient. As is well know the result of a newly taken bG measurements is displayed to the patient on display 108 as well as stored such as, for example, in memory 112 together with a time and date of the measurement, via processor 102 reading clock 148 in step 204. An example of such bG results is graphically depicted by FIG. 3 to which reference is also made.

As shown by FIG. 3, in one embodiment and generally, as mentioned above the bG meter 100 stores the results of the glucose (bG) measurements in its memory 112 together with a date and time stamp to create a chronological sequence or set G of bG spot measurements, such as measurements bG₁ ^(k), bG₂ ^(k), bG₃ ^(k), bG₄ ^(k), and bG₅ ^(k), where k is the day. The measurement set G is sorted by increasing time and may span several days. In one embodiment, the date stored in memory with the measurement consists of some representation of day/month/year, and the time consists of some representation of the time of day (e.g. hh:mm:ss). In other embodiments, other date and time recording methods may be used, such as for example, using a Julian calendar and an alternative count interval for time.

Generally, if two or more bG results exist in memory 112 for a given day Dk, then the method of the invention proceeds to check the time interval between consecutive bG results. In one embodiment, the bG meter 100 will assume that for each interval between two consecutive bG results whose length does not exceed a predefined maximum time interval value ΔT_(max) the glucose value for this interval can be reasonably approximated by the arithmetic average of the two bG results. The ΔT_(max) value is used in a weighting algorithm to limit the weight for a given measurement in case that the time interval between two consecutive measurements is too long to be acceptable. The present invention assumes that if the time interval is too long, then the behavior of the glucose in this interval is considered unknown. Thus, in step 206 (FIG. 2), the interval between two consecutive bG results such as, for example, the new bG result and the previous bG result, is determined by the processor 102.

In step 208, the result from step 206 is checked to see if the length of the interval between the two consecutive bG results exceeds ΔT_(max). If the length of the time interval between two consecutive bG results exceeds ΔT_(max), then the bG meter 100 in step 210 will exclude this interval from the daily weighted average bG calculation. In one embodiment, the weight associated with the time interval between the consecutive bG results is set to zero such that their average bG value will also receive a weight of zero. In other embodiment, other exclusion methods may be used, such as for example, flagging in memory 112 this interval to indicate it's exclusion if processing of the arithmetic averaging is performed at a later time.

After step 210, the bG meter 100 in step 212 then uses the consecutive bG measurements having acceptable intervals to calculate a set weighted sums sum_bG_(k)*, one for each day. Each of the weighted sums sum_bG_(k)* is the sum of the averages of consecutive bG measurements bG_(n), bG_(n+1) multiplied by the time interval w_(n) between measurements.

In step 214 the bG meter 100 then checks for any additional measurement intervals in which to repeat steps 206-212 for all remaining intervals. Afterwards and next in step 216, the bG meter 100 computes a daily weight average avg_bG_(k) by dividing the time based weighted sum_bG_(k)* by the sum of the time-based weights that were used in calculating the weighted sum sum_bG_(k)*. The next day is represented by day D_(k+1) for which no measurements have been yet recorded. The formulae used in calculating the weighted sum for any given day D_(k) is shown by Table 1.

TABLE 1 Formula for calculating weighted sum sum_bG_(k) ^(*) for any given day D_(k) Let (bG_(n) ^(k), t_(n) ^(k)), n = 1 to N_(k), the bG results (with the corresponding times in minutes) of the k-th day with N_(k) ≧ 2; ${sum\_ bG}_{k}^{*} = {\sum\limits_{n = 1}^{N_{k} - 1}{w_{n} \cdot \frac{{bG}_{n} + {bG}_{n + 1}}{2}}}$ with: $w_{n} = \left\{ {\begin{matrix} {t_{n + 1}^{k} - t_{n}^{k}} \\ 0 \end{matrix}\mspace{14mu} {for}\mspace{14mu} \begin{matrix} {{t_{n + 1}^{k} - t_{n}^{k}} \leq {\Delta T}_{\max}} \\ {else} \end{matrix}} \right.$ If N_(k) < 2 then sum_bG_(k) ^(*) = 0.

It is to be appreciated that the average daily glucose value for any given day D_(k) is calculated in step 216 when a next glucose measurement has been taken that is assigned a date later than a previous glucose measurement. The daily weighted average glucose value is then provided to the patient in step 218, such as for example, on display 108, and if desired, stored in memory 112 for later recall.

With reference now made to FIGS. 4-8, use cases are provided hereafter that further describe the pragmatic handling of situations by the method of the present invention that will exist when a person uses the bG meter 100 in real life.

Case 1

If the weighted sum sum_bG_(k)* for the given day D_(k) is zero, then the weighted average glucose value, avg_bG_(k) for the day D_(k) will be set to not-a-number (NAN or NaN). It is to be appreciated that a result of NaN denotes that avg_bG_(k) cannot be assigned a usable value. Such a result can occur when there is no or only one bG measurement provided during the day Dk, as shown by FIGS. 4 a and 4 b, respectively. This result may also occur even if two bG measurements were recorded for day Dk, but the consecutive bG measurements were too far apart thus exceeding the maximum time interval limit ΔT_(max) to be useful. This latter result is depicted by FIG. 4 c.

Case 2

With reference to FIGS. 5 a and 5 b, in the second use case more than one bG measurements have been provided in the day D_(k) which do not exceed the maximum time interval limit ΔT_(max). As shown by FIG. 5 a, however, the time interval between spot measurements bG₃ ^(k) and bG₄ ^(k), and bG₅ ^(k) and bG₁ ^(k+1), which is taken the day after D_(k+1), exceed the maximum time interval limit ΔT_(max), and therefore those two intervals are excluded from the averaging process. In one embodiment, the interval is excluded by setting the value of the corresponding interval weight to zero (e.g., w₃=0). As shown by FIG. 5 b, from the previous day spot measurement bG_(N) _(k−1) ^(k−1), the maximum time interval limit ΔT_(max) to the first spot measurement on the next day D_(k) is exceeded so that time interval would in that case also be excluded from the averaging process. Therefore, in such a use case situation, the following logic is employed by the method. If the average daily glucose value will not give a not_a_number result, avg_bG_(k)≠NaN, and the day D_(k) is the first day that the bG meter 100 has been used to collect glucose measurements or there are no results for the previous day D_(k−1) or the last bG result of the previous day is more than the value ΔT_(max) before the first measurement of day D_(k) and the first measurement after day D_(k) is more than the value ΔT_(max) later than the last measurement on day D_(k), then the average daily glucose value avg_bG_(k) for day D_(k) is calculated according to equation 1 hereafter.

$\begin{matrix} {{avg\_ bG}_{k} = {\frac{{sum\_ bG}_{k}^{*}}{\sum\limits_{n = 1}^{N_{k} - 1}w_{n}}.}} & (1) \end{matrix}$

Case 3

With reference to FIG. 6, as shown the last bG result bG_(N) _(k−1) ^(k−1) on the previous day D_(k−1) is within the maximum time interval value ΔT_(max); however, the first bG result bG₁ ^(k+1) on the day after D_(k) is too late, and the interval again between bG results bG₃ ^(k) and bG₄ ^(k) exceed the maximum time interval limit ΔT_(max). Therefore, in such a use case situation, the following logic is employed by the method. If the average daily glucose value will not give a not_a_number result, avg_bG_(k)≠NaN, and the last bG result (bG_(N) _(k−1,) ^(k−1)t_(N) _(k−1) ^(k−1)) of the previous day D_(k−1) is less than or equal to ΔT_(max) before the first measurement of day D_(k), and the first measurement after day D_(k) is more than ΔT_(max) later than the last measurement on day D_(k), then the average daily glucose value for D_(k) is calculated according to equation (2) hereafter.

$\begin{matrix} {{avg\_ bG}_{k} = {\frac{\left( {{sum\_ bG}_{k}^{*} + {t_{1}^{k} \cdot {\left( {{bG}_{N_{k - 1}}^{k - 1} + {bG}_{1}^{k}} \right)/2}}} \right)}{\left( {{\sum\limits_{n = 1}^{N_{k - 1}}w_{n}} + t_{1}^{k}} \right)}.}} & (2) \end{matrix}$

Case 4

With reference to FIG. 7, as shown the last bG result bG_(N) _(k−1) ^(k−1) on the previous day D_(k−1) is too early thereby exceeding the maximum time interval value ΔT_(max) as well as the interval again between bG results bG₃ ^(k) and bG₄ ^(k); however, the first bG result bG₁ ^(k+1) on the day after D_(k) is within the maximum time interval. Therefore, in such a use case situation, the following logic is employed by the method. If the average daily glucose value will not give a not_a_number result, avg_bG_(k)≠NaN, and the given day D_(k) is the first day that the bG meter 100 has been used to collect glucose measurements or there are no results for the previous day D_(k−1) or the last bG result of the previous day is more than ΔT_(max) before the first measurement of day D_(k), and the first measurement (bG_(1,) ^(k+1)t₁ ^(k+1)) after day D_(k) is not more than the value ΔT_(max) later than the last measurement on day D_(k), then the average daily glucose value for D_(k) is calculated according to equation (3) hereafter.

$\begin{matrix} {{avg\_ bG}_{k} = {\frac{\left( {{sum\_ bG}_{k}^{*} + {\left( {1440 - t_{N_{k}}^{k}} \right) \cdot {\left( {{bG}_{N_{k}}^{k} + {bG}_{1}^{k + 1}} \right)/2}}} \right)}{\left( {{\sum\limits_{n = 1}^{N_{k - 1}}w_{n}} + 1440 - t_{N_{k}}^{k}} \right)}.}} & (3) \end{matrix}$

Case 5

With reference to FIG. 8, as shown the last bG result bG_(N) _(k−1) ^(k−1) on the previous clay D_(k−1) and the first bG result bG₁ ^(k+1) on the day after D_(k) is with the maximum time interval ΔT_(max). In this example, the interval again between bG results bG₃ ^(k) and bG₄ ^(k) exceeds the maximum time interval value. Therefore, in such a use case situation, the following logic is employed by the method. If the average daily glucose value will not give a not_a_number result, avg_bG_(k)≠NaN, and the last bG result (bG_(N) _(k−1,) ^(k−1)t_(N) _(k−1) ^(k−1)) of the previous day Dk−1 is less than or equal to ΔT_(max) before the first measurement of day D_(k)) and (the first measurement (bG_(1,) ^(k+1)t₁ ^(k+1)) after clay D_(k) is not more than ΔT_(max) later than the last measurement on clay D_(k)), then the average daily glucose value for D_(k) is calculated according to equation (4) hereafter.

$\begin{matrix} {{avg\_ bG}_{k} = {\frac{\left( {{sum\_ bG}_{k}^{*} + {\begin{pmatrix} {{t_{1}^{k} \cdot \left( {{bG}_{N_{k - 1}}^{k - 1} + {bG}_{1}^{k}} \right)} + {\left( {1440 - t_{N_{k}}^{k}} \right) \cdot}} \\ \left( {{bG}_{N_{k}}^{k} + {bG}_{1}^{k + 1}} \right) \end{pmatrix}/2}} \right)}{\left( {{\sum\limits_{n = 1}^{N_{k - 1}}w_{n}} + t_{1}^{k} + 1440 - t_{N_{k}}^{k}} \right)}.}} & (4) \end{matrix}$

Using the daily weighted average (with time-based weights) according to the present invention instead of an unweighted algebraic average of the glucose readings over a given day has the advantage to be much less susceptible to multiple measurements taken in case of hypo- or hyperglycemic events. The quantity ΔTmax limits the weight for a given measurement in case the time interval between two consecutive measurements is too long to be acceptable. In this case we accept that we do not know the behavior of the glucose in this interval.

The principle described above can be implemented in various ways. For example, in the above example, using the trapezoidal approximation of the area under the bG curve could be replaced by using an alternative function to interpolate between adjacent bG results and employing a suitable approximation of the integral. However, the necessary effort and logic around case handling become more cumbersome.

The following pseudo code example provided in Table 2 describes one software embodiment which could be implemented on bg meter 100, or provided on removable storage 118, 120, or over network 136. The below pseudo code example provides time weighted averages resulting from a course of calculations associated with measurements having a bG result. Each bG result is assigned a time and date (bG, t, date), and if a previous bG result exists, then the analysis provided by the pseudo code is carried out by the bG meter 100. It is to be appreciated that the term ((t, date)—(t_prev, date_prev)) provided in Table 2 denotes the time difference, for example, in minutes between a first time point t and a second time point t_prev where the two time points belong to different dates i.e., date and date_prev, respectively. The term DeltaTmax is the maximum allowed time between consecutive measurements, and the term W_Dk is a time based weight. The term avg_bG is the daily weighted average. The term sum_Dk is the weighted sum. The term cdate is an index of a do-loop running from previous date +1 to the current date−1. This loop is used to assign NaN to the average glucose for days where no measurement has been provided. This step is used since the average glucose for a given day is calculated when the first measurement after this day has been taken. Finally, the term measurements_today is a counter used to count the number of measurements captured by the bG meter 100 during the given day, date. After computing the daily weighted average over the given day, the value of avg_bG is stored in memory 112.

TABLE 2 Pseudo code example providing time weighted averages retrieve previous result (bG_prev, t_prev, date_prev);   if date ≠ date_prev then do;    if sum_Dk ≠ 0 then do;     if ((t, date) − (t_prev, date_prev)) <= DeltaTmax then do;      deltaT = 1440 − t_prev;      W_Dk = W_Dk + deltaT;      sum_Dk = sum_Dk + deltaT * (bG + bG_prev)/2;     end;     avg_bG = sum_Dk / W_Dk;    else     avg_bG = NaN;     end;    store (avg_bG, date_prev);    do cdate = date_prev+1 to date−1;     avg_bG = NaN;     store (avg_bG, cdate);    end;    measurements_today = 1;    if ((t, date) − (t_prev, date_prev)) <= DeltaTmax then do;     W_Dk = t;     sum_Dk = t * (bG + bG_prev)/2;     end;    else     sum_Dk = 0;     W_Dk = 0;     end;    end;   else;    measurement_today = measurement_today + 1;    deltaT = t − t_prev;    if deltaT <= deltaTmax then do;     sum_Dk = sum_Dk + deltaT * (bG + bg_prev)/2;     W_Dk = W_Dk + deltaT;     end;    end;   end; else do;   sum_Dk = 0;   W_Dk = 0;   measurements_today = 1;   end; store current result (bG, t, date);

In still other embodiments, the bG meter 100 may use the stored daily weighted averages to calculate a long term weighted average with weights that decline exponentially or linearly over time. In addition, the above described weighting scheme is not only useful for bG measurements but can also sensibly applied when calculating derived quantities that can be found in the literature.

The invention is not limited to the embodiments described above. The functionality itself as well as the graphical user interface may be modified in many ways. Particularly, they may be adapted to the computing and display equipment used, especially to its input means, kind of display, display size, computing power, memory size, etc.

The glucose measurements are not restricted to measurements of the glucose (bG) level but may be directed to other glucose levels, such as e. g. glucose levels measured in the interstitial fluid.

In summary, it is to be noted that the invention provides a method as well as an apparatus with a time-based weighting scheme for processing a chronological sequence of measurements of a time dependent physiological parameter measured in or on a human body, and in particular, of a glucose concentration in a body fluid of a patient, that enables the patient to improve his self-management skills concerning his therapy. 

1. A method for calculating daily weighted averages of glucose measurements collected at a different time with time-based weights comprising: determining whether each time interval between two consecutive glucose measurements in a plurality of glucose measurements exceeds a predefined maximum time interval value; computing electronically an average daily glucose value, which represents the daily weighted average of the glucose measurements, using time based weights with the glucose measurements, wherein only consecutive glucose measurements in the plurality of glucose measurements with acceptable time intervals that do not exceed the predefined maximum time interval contribute to the average daily glucose value; and providing the computed daily weighted average of the glucose measurements.
 2. The method of claim 1, further comprises providing the plurality of glucose measurements each collected at a different time in at least one of a personal digital assistant or a glucose meter.
 3. The method of claim 2, wherein the personal digital assistant or the glucose meter is equipped with memory and processing capabilities to process a chronological sequence of measurements of a time dependent parameter measured in or on the human body.
 4. A system for calculating daily weighted averages of glucose measurements collected at a different time with time-based weights comprising: a processor programmed to: determine whether each time interval between two consecutive glucose measurements in a plurality of glucose measurements exceeds a predefined maximum time interval length; compute an average daily glucose value, which represents the daily weighted average of the glucose measurements, using time based weights with the glucose measurements, wherein only consecutive glucose measurements in the plurality of glucose measurements with acceptable time intervals that do not exceed the predefined maximum time interval contribute to the average daily glucose value; and provide the computed daily weighted average of the glucose measurements.
 5. The system of claim 4, wherein the processor is further programmed to receive the plurality of glucose measurements each collected at a different time in at least one of a personal digital assistant or a glucose meter.
 6. The system of claim 5, wherein the personal digital assistant or the glucose meter is equipped with memory and processing capabilities to process a chronological sequence of measurements of a time dependent parameter measured in or on the human body. 